package personal.xjl._23java2studentdemo.service;

import personal.xjl._23java2studentdemo.model.Course;
import personal.xjl._23java2studentdemo.model.Student;

import java.util.List;

public interface CourseService {

    List<Course> findAll();

    int remove(int id);

    int add(Course course);

    int edit(Course course);

    Course findOneById(int id);

    //分页查询
    List<Course> findByPage(int pageNo, int pageSize);
}
